﻿using System;
using System.Collections.Generic;
using System.Text;

using MineGoogleTranslator.Core;

namespace WinMineGoogleTranslator
{
	public class TranslationLanguage
	{
		#region Fields
		private String name;
		private LanguagePair langpair;
		#endregion

		#region Properties
		public String Name
		{
			get { return name; }
			set { name = value; }
		}
		public LanguagePair LanguagePair
		{
			get { return langpair; }
			set { langpair = value; }
		}
		#endregion

		#region Constructors
		public TranslationLanguage(String translationLanguageName, LanguagePair translationLanguagePair)
		{
			Name = translationLanguageName;
			LanguagePair = translationLanguagePair;
		}

		public TranslationLanguage(String translationLanguageName, Language originalLanguage, Language languageToTranslate) : this(translationLanguageName, new LanguagePair(originalLanguage, languageToTranslate)) { }
		#endregion
	}
}
